object fmHizmetFatura: TfmHizmetFatura
  Left = 51
  Top = 157
  Width = 1265
  Height = 552
  Caption = 'Hizmet Faturas'#305' Detay'#305
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  Position = poScreenCenter
  Visible = True
  OnClose = FormClose
  OnCloseQuery = FormCloseQuery
  OnCreate = FormCreate
  OnKeyDown = FormKeyDown
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label8: TLabel
    Left = 643
    Top = 35
    Width = 34
    Height = 13
    Caption = #220'nvan'#305
  end
  object Label9: TLabel
    Left = 643
    Top = 11
    Width = 25
    Height = 13
    Caption = 'Kodu'
  end
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 1257
    Height = 90
    Align = alTop
    TabOrder = 0
    object Label1: TLabel
      Left = 6
      Top = 60
      Width = 30
      Height = 13
      Caption = 'Fi'#351' No'
    end
    object Label2: TLabel
      Left = 6
      Top = 11
      Width = 39
      Height = 13
      Caption = 'Bil.'#304#351'.No'
    end
    object Label3: TLabel
      Left = 6
      Top = 35
      Width = 27
      Height = 13
      Caption = 'Tarih '
    end
    object Label4: TLabel
      Left = 210
      Top = 11
      Width = 25
      Height = 13
      Caption = 'Kodu'
    end
    object Label5: TLabel
      Left = 210
      Top = 35
      Width = 34
      Height = 13
      Caption = #220'nvan'#305
    end
    object Label6: TLabel
      Left = 437
      Top = 35
      Width = 52
      Height = 13
      Caption = #214'zel Kod 2'
    end
    object Label7: TLabel
      Left = 437
      Top = 11
      Width = 52
      Height = 13
      Caption = #214'zel Kod 1'
    end
    object Label10: TLabel
      Left = 437
      Top = 59
      Width = 52
      Height = 13
      Caption = #214'zel Kod 3'
    end
    object Label11: TLabel
      Left = 210
      Top = 59
      Width = 52
      Height = 13
      Caption = 'Yetki Kodu'
    end
    object Label12: TLabel
      Left = 921
      Top = 11
      Width = 43
      Height = 13
      Caption = 'A'#231#305'klama'
    end
    object edBilisno: TcxDBTextEdit
      Left = 50
      Top = 8
      TabStop = False
      DataBinding.DataField = 'BILISNO'
      DataBinding.DataSource = DsFatura
      Enabled = False
      TabOrder = 8
      Width = 153
    end
    object edFisNo: TcxDBTextEdit
      Left = 50
      Top = 56
      DataBinding.DataField = 'FISNO'
      DataBinding.DataSource = DsFatura
      TabOrder = 0
      Width = 153
    end
    object edCarikodu: TcxDBButtonEdit
      Left = 271
      Top = 8
      DataBinding.DataField = 'CARIKODU'
      DataBinding.DataSource = DsFatura
      Properties.Buttons = <
        item
          Default = True
          Kind = bkEllipsis
        end>
      Properties.OnButtonClick = edCarikoduPropertiesButtonClick
      TabOrder = 1
      OnKeyDown = edCarikoduKeyDown
      Width = 153
    end
    object edFirmaadi: TcxDBButtonEdit
      Left = 271
      Top = 32
      DataBinding.DataField = 'UNVAN'
      DataBinding.DataSource = DsFatura
      Properties.Buttons = <
        item
          Default = True
          Kind = bkEllipsis
        end>
      Properties.OnButtonClick = edFirmaadiPropertiesButtonClick
      TabOrder = 2
      OnKeyDown = edFirmaadiKeyDown
      Width = 153
    end
    object edTarih: TcxDBMaskEdit
      Left = 50
      Top = 32
      TabStop = False
      DataBinding.DataField = 'TARIH'
      DataBinding.DataSource = DsFatura
      Enabled = False
      TabOrder = 9
      Width = 153
    end
    object edOzelKod1: TcxDBMaskEdit
      Left = 499
      Top = 8
      DataBinding.DataField = 'OZELKOD1'
      DataBinding.DataSource = DsFatura
      TabOrder = 4
      Width = 153
    end
    object edOzelKod2: TcxDBMaskEdit
      Left = 499
      Top = 32
      DataBinding.DataField = 'OZELKOD2'
      DataBinding.DataSource = DsFatura
      TabOrder = 5
      Width = 153
    end
    object edYetkiKodu: TcxDBMaskEdit
      Left = 271
      Top = 56
      DataBinding.DataField = 'YETKIKOD'
      DataBinding.DataSource = DsFatura
      TabOrder = 3
      Width = 153
    end
    object edOzelKod3: TcxDBMaskEdit
      Left = 499
      Top = 56
      DataBinding.DataField = 'OZELKOD3'
      DataBinding.DataSource = DsFatura
      TabOrder = 6
      Width = 153
    end
    object cxDBMemo1: TcxDBMemo
      Left = 968
      Top = 8
      DataBinding.DataField = 'ACIKLAMA'
      DataBinding.DataSource = DsFatura
      TabOrder = 7
      Height = 77
      Width = 241
    end
  end
  object cxgrid1: TcxGrid
    Left = 0
    Top = 90
    Width = 1257
    Height = 399
    Align = alClient
    Font.Charset = TURKISH_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Arial'
    Font.Style = []
    ParentFont = False
    PopupMenu = PM1
    TabOrder = 2
    LookAndFeel.Kind = lfUltraFlat
    LookAndFeel.NativeStyle = True
    object cxgrid1DBTableView1: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataModeController.GridMode = True
      DataController.DataSource = DSListe
      DataController.Filter.Active = True
      DataController.Filter.AutoDataSetFilter = True
      DataController.Options = [dcoAnsiSort, dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Format = '###.###'
          Kind = skSum
          FieldName = 'MIKTAR'
          Column = cxgrid1DBTableView1MIKTAR
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.IncSearch = True
      OptionsData.Appending = True
      OptionsData.CancelOnExit = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsSelection.UnselectFocusedRecordOnExit = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      Styles.StyleSheet = dm.tvssDevExpress
      object cxgrid1DBTableView1id: TcxGridDBColumn
        DataBinding.FieldName = 'id'
        Visible = False
        Options.Editing = False
        Width = 49
      end
      object cxgrid1DBTableView1HIZACIKLAMA: TcxGridDBColumn
        Caption = 'A'#231#305'klama'
        DataBinding.FieldName = 'HIZACIKLAMA'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.ClickKey = 121
        Properties.OnButtonClick = cxgrid1DBTableView1HIZACIKLAMAPropertiesButtonClick
        Width = 176
      end
      object cxgrid1DBTableView1KM: TcxGridDBColumn
        DataBinding.FieldName = 'KM'
        Width = 50
      end
      object cxgrid1DBTableView1MIKTAR: TcxGridDBColumn
        Caption = 'Miktar'
        DataBinding.FieldName = 'MIKTAR'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.MaxLength = 6
        Properties.OnEditValueChanged = cxgrid1DBTableView1MIKTARPropertiesChange
        FooterAlignmentHorz = taCenter
        Width = 54
      end
      object cxgrid1DBTableView1BIRIM: TcxGridDBColumn
        Caption = 'Birim'
        DataBinding.FieldName = 'BIRIM'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.KeyFieldNames = 'ID'
        Properties.ListColumns = <
          item
            FieldName = 'KODU'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = DSBirim
        Width = 51
      end
      object cxgrid1DBTableView1BIRIMFIYAT: TcxGridDBColumn
        Caption = 'Birim Fiyat'
        DataBinding.FieldName = 'BIRIMFIYAT'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.MaxLength = 10
        Properties.OnEditValueChanged = cxgrid1DBTableView1BIRIMFIYATPropertiesChange
        SortIndex = 0
        SortOrder = soDescending
        Width = 86
      end
      object cxgrid1DBTableView1DOVIZBIRIMFIYAT: TcxGridDBColumn
        Caption = 'D'#246'vizli Birim Fiyat'
        DataBinding.FieldName = 'DOVIZBIRIMFIYAT'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkGlyph
          end>
        Properties.MaxLength = 10
        Properties.OnEditValueChanged = cxgrid1DBTableView1DOVIZBIRIMFIYATPropertiesChange
        Visible = False
        Width = 115
      end
      object cxgrid1DBTableView1KDV: TcxGridDBColumn
        Caption = 'Kdv'
        DataBinding.FieldName = 'KDV'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.KeyFieldNames = 'ID'
        Properties.ListColumns = <
          item
            FieldName = 'KDVORAN'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = DsKdvOran
        Properties.ReadOnly = False
        Properties.OnEditValueChanged = cxgrid1DBTableView1KDVPropertiesEditValueChanged
      end
      object cxgrid1DBTableView1KDVDH: TcxGridDBColumn
        Caption = 'Kdv (D/H)'
        DataBinding.FieldName = 'KDVDH'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.KeyFieldNames = 'DURUMID'
        Properties.ListColumns = <
          item
            FieldName = 'DURUM'
          end>
        Properties.ListOptions.ShowHeader = False
        Properties.ListSource = DsKdvDh
        Properties.ReadOnly = False
        Properties.OnEditValueChanged = cxgrid1DBTableView1KDVDHPropertiesEditValueChanged
        Width = 79
      end
      object cxgrid1DBTableView1DOVIZTURU: TcxGridDBColumn
        Caption = 'D'#246'viz T'#252'r'#252
        DataBinding.FieldName = 'DOVIZTURU'
        PropertiesClassName = 'TcxLookupComboBoxProperties'
        Properties.KeyFieldNames = 'ID'
        Properties.ListColumns = <
          item
            FieldName = 'KODU'
          end>
        Properties.ListSource = DSDoviz
        Properties.OnCloseUp = cxgrid1DBTableView1DOVIZTURUPropertiesCloseUp
        Visible = False
        Width = 86
      end
      object cxgrid1DBTableView1DOVIZTUTAR: TcxGridDBColumn
        Caption = 'D'#246'viz Tutar'
        DataBinding.FieldName = 'DOVIZTUTAR'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkGlyph
          end>
        Visible = False
        Options.Editing = False
        Width = 83
      end
      object cxgrid1DBTableView1TUTAR: TcxGridDBColumn
        Caption = 'Tutar'
        DataBinding.FieldName = 'TUTAR'
        PropertiesClassName = 'TcxCurrencyEditProperties'
        Options.Editing = False
        Width = 79
      end
      object cxgrid1DBTableView1KDVTUTAR: TcxGridDBColumn
        Caption = 'Kdv Tutar'
        DataBinding.FieldName = 'KDVTUTAR'
        PropertiesClassName = 'TcxCurrencyEditProperties'
        Options.Editing = False
        Width = 106
      end
      object cxgrid1DBTableView1MASACIKLAMA: TcxGridDBColumn
        Caption = 'Departman'
        DataBinding.FieldName = 'MASACIKLAMA'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.ClickKey = 121
        Properties.OnButtonClick = cxgrid1DBTableView1MASMERKEZPropertiesButtonClick
        Width = 155
      end
      object cxgrid1DBTableView1UNIMASMER: TcxGridDBColumn
        Caption = 'Masraf Merkezi'
        DataBinding.FieldName = 'UNIMASMER'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.ReadOnly = True
        Properties.OnButtonClick = cxgrid1DBTableView1YANSIMAHESAPPropertiesButtonClick
        Width = 154
      end
    end
    object cxgrid1Level1: TcxGridLevel
      GridView = cxgrid1DBTableView1
    end
  end
  object Panel2: TPanel
    Left = 0
    Top = 489
    Width = 1257
    Height = 36
    Align = alBottom
    TabOrder = 1
    DesignSize = (
      1257
      36)
    object bVazgec: TBitBtn
      Left = 88
      Top = 7
      Width = 65
      Height = 23
      Caption = 'Vazge'#231
      TabOrder = 1
      OnClick = bVazgecClick
    end
    object bKaydet: TBitBtn
      Left = 8
      Top = 7
      Width = 65
      Height = 23
      Caption = 'Kaydet'
      TabOrder = 0
      OnClick = bKaydetClick
    end
    object bKapat: TBitBtn
      Left = 1187
      Top = 7
      Width = 65
      Height = 23
      Anchors = [akRight]
      Caption = 'Kapat [Esc]'
      TabOrder = 2
      OnClick = bKapatClick
    end
  end
  object adoListe: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    AfterInsert = adoListeAfterInsert
    Parameters = <
      item
        Name = 'BILISNO'
        DataType = ftInteger
        Size = -1
        Value = Null
      end>
    SQL.Strings = (
      'select * from CS_FATURA_DETAY where BILISNO=:BILISNO')
    Left = 944
    Top = 136
  end
  object DSListe: TDataSource
    DataSet = adoListe
    Left = 1008
    Top = 136
  end
  object adoBul: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'MID'
        DataType = ftSmallint
        Value = Null
      end>
    SQL.Strings = (
      'select * from CS_FATURA_HAR where MASTERID=1')
    Left = 944
    Top = 192
  end
  object adoTemp: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'MID'
        DataType = ftSmallint
        Value = Null
      end>
    SQL.Strings = (
      'select * from CS_FATURA_HAR where MASTERID=1')
    Left = 1008
    Top = 192
  end
  object PM1: TPopupMenu
    Left = 296
    Top = 144
    object PM1_Ekle: TMenuItem
      Caption = 'Ekle'
      OnClick = PM1_EkleClick
    end
    object PM1_Cikar: TMenuItem
      Caption = #199#305'kar'
      OnClick = PM1_CikarClick
    end
  end
  object adoFatura: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'BILISNO'
        DataType = ftInteger
        Size = -1
        Value = Null
      end>
    SQL.Strings = (
      'select * from CS_FATURA  where BILISNO=:BILISNO')
    Left = 848
    Top = 136
  end
  object DsFatura: TDataSource
    DataSet = adoFatura
    Left = 848
    Top = 192
  end
  object adoBirim: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from CS_BIRIM where AKTIF=1 order by ID'
      '')
    Left = 688
    Top = 144
  end
  object adoDoviz: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from CS_DOVIZ_TURU where AKTIF=1 order by ID')
    Left = 624
    Top = 144
  end
  object DSDoviz: TDataSource
    DataSet = adoDoviz
    Left = 624
    Top = 200
  end
  object DSBirim: TDataSource
    DataSet = adoBirim
    Left = 688
    Top = 200
  end
  object adoKurBul: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from CS_DOVIZ_TURU where AKTIF=1 order by ID')
    Left = 352
    Top = 144
  end
  object adoKdvDH: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    AfterInsert = adoListeAfterInsert
    Parameters = <>
    SQL.Strings = (
      'select * from CS_DURUM where DURUMID=1 and AKTIF=1')
    Left = 624
    Top = 272
  end
  object DsKdvDh: TDataSource
    DataSet = adoKdvDH
    Left = 688
    Top = 272
  end
  object adoKdvOran: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    AfterInsert = adoListeAfterInsert
    Parameters = <>
    SQL.Strings = (
      'select * from CS_KDV where  AKTIF=1')
    Left = 624
    Top = 320
  end
  object DsKdvOran: TDataSource
    DataSet = adoKdvOran
    Left = 688
    Top = 320
  end
end
